package cn.cai.pethome.pet.mapper;

import cn.cai.pethome.pet.domain.PetOnlineAuditLog;
import cn.cai.pethome.base.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaocai
 * @since 2022-09-10
 */
@Component
public interface PetOnlineAuditLogMapper extends BaseMapper<PetOnlineAuditLog> {

    /**
     * 批量插入上架申请记录  把t_pet_online_audit_log表的申请记录添加进去
     * @param petIds
     */
    void saveBatch(List<Long> petIds);

    /**
     * 通过宠物id修改数据
     * @param petOnlineAuditLog
     */
    void updateByPetId(PetOnlineAuditLog petOnlineAuditLog);
}
